package net.office.mapper;

import java.util.List;
import net.office.bean.Memorandum;
import net.office.bean.MemorandumExample;
import org.apache.ibatis.annotations.Param;

public interface MemorandumMapper {
    long countByExample(MemorandumExample example);

    int deleteByExample(MemorandumExample example);

    int deleteByPrimaryKey(Integer memorId);

    int insert(Memorandum record);

    int insertSelective(Memorandum record);

    List<Memorandum> selectByExample(MemorandumExample example);

    Memorandum selectByPrimaryKey(Integer memorId);

    int updateByExampleSelective(@Param("record") Memorandum record, @Param("example") MemorandumExample example);

    int updateByExample(@Param("record") Memorandum record, @Param("example") MemorandumExample example);

    int updateByPrimaryKeySelective(Memorandum record);

    int updateByPrimaryKey(Memorandum record);
}